package com.yfp.operation.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 代取餐状态表
 *
 * @TableName meal_replacement
 */
@Data
public class MealReplacementDTO implements Serializable {

    /**
     * 机器id
     */
    @Schema(description = "机器id")
    private String machineId;

    /**
     * 客服名称
     */
    @Schema(description = "客服名称")
    private String customerServiceName;

    /**
     * 客服账户
     */
    @Schema(description = "客服账户")
    private String customerServicePhone;

    /**
     * 在线时间-开始
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "在线时间-开始")
    private Date onlineTimeStart;

    /**
     * 在线时间-结束
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "在线时间-结束")
    private Date onlineTimeEnd;
}